package com.junlong0716.enjoylearning.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: 巴黎没有摩天轮Li
 * @description:
 * @date: Created in 下午3:16 2018/6/10
 * @modified by:
 */
public class CommentEntity {


    /**
     * code : 200
     * msg : null
     * data : {"countPage":1,"countRecord":2,"currentPage":1,"list":[{"id":3,"userId":1,"knowledgeId":1,"commentContent":"糖醋","praiseNumber":0,"createBy":null,"createDate":1525574457000,"updateBy":null,"updateDate":null,"remarks":null,"delFlag":null,"userName":"luke","headImg":"aa.jpg"},{"id":1,"userId":1,"knowledgeId":1,"commentContent":"test","praiseNumber":0,"createBy":null,"createDate":1525573924000,"updateBy":null,"updateDate":null,"remarks":null,"delFlag":null,"userName":"luke","headImg":null}],"onePageCount":10,"startIndex":0,"pageIndex":{"endIndex":1,"startIndex":1}}
     * dataMap : null
     * remarks : null
     */

    private String code;
    private Object msg;
    private DataBean data;
    private Object dataMap;
    private Object remarks;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public Object getDataMap() {
        return dataMap;
    }

    public void setDataMap(Object dataMap) {
        this.dataMap = dataMap;
    }

    public Object getRemarks() {
        return remarks;
    }

    public void setRemarks(Object remarks) {
        this.remarks = remarks;
    }

    public static class DataBean {
        /**
         * countPage : 1
         * countRecord : 2
         * currentPage : 1
         * list : [{"id":3,"userId":1,"knowledgeId":1,"commentContent":"糖醋","praiseNumber":0,"createBy":null,"createDate":1525574457000,"updateBy":null,"updateDate":null,"remarks":null,"delFlag":null,"userName":"luke","headImg":"aa.jpg"},{"id":1,"userId":1,"knowledgeId":1,"commentContent":"test","praiseNumber":0,"createBy":null,"createDate":1525573924000,"updateBy":null,"updateDate":null,"remarks":null,"delFlag":null,"userName":"luke","headImg":null}]
         * onePageCount : 10
         * startIndex : 0
         * pageIndex : {"endIndex":1,"startIndex":1}
         */

        private int countPage;
        private int countRecord;
        private int currentPage;
        private int onePageCount;
        private int startIndex;
        private PageIndexBean pageIndex;
        private ArrayList<ListBean> list;

        public int getCountPage() {
            return countPage;
        }

        public void setCountPage(int countPage) {
            this.countPage = countPage;
        }

        public int getCountRecord() {
            return countRecord;
        }

        public void setCountRecord(int countRecord) {
            this.countRecord = countRecord;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getOnePageCount() {
            return onePageCount;
        }

        public void setOnePageCount(int onePageCount) {
            this.onePageCount = onePageCount;
        }

        public int getStartIndex() {
            return startIndex;
        }

        public void setStartIndex(int startIndex) {
            this.startIndex = startIndex;
        }

        public PageIndexBean getPageIndex() {
            return pageIndex;
        }

        public void setPageIndex(PageIndexBean pageIndex) {
            this.pageIndex = pageIndex;
        }

        public ArrayList<ListBean> getList() {
            return list;
        }

        public void setList(ArrayList<ListBean> list) {
            this.list = list;
        }

        public static class PageIndexBean {
            /**
             * endIndex : 1
             * startIndex : 1
             */

            private int endIndex;
            private int startIndex;

            public int getEndIndex() {
                return endIndex;
            }

            public void setEndIndex(int endIndex) {
                this.endIndex = endIndex;
            }

            public int getStartIndex() {
                return startIndex;
            }

            public void setStartIndex(int startIndex) {
                this.startIndex = startIndex;
            }
        }

        public static class ListBean {
            /**
             * id : 3
             * userId : 1
             * knowledgeId : 1
             * commentContent : 糖醋
             * praiseNumber : 0
             * createBy : null
             * createDate : 1525574457000
             * updateBy : null
             * updateDate : null
             * remarks : null
             * delFlag : null
             * userName : luke
             * headImg : aa.jpg
             */

            private int id;
            private int userId;
            private int knowledgeId;
            private String commentContent;
            private int praiseNumber;
            private Object createBy;
            private long createDate;
            private Object updateBy;
            private Object updateDate;
            private Object remarks;
            private Object delFlag;
            private String userName;
            private String headImg;
            private int isPraise;

            public int getIsPraise() {
                return isPraise;
            }

            public void setIsPraise(int isPraise) {
                this.isPraise = isPraise;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getKnowledgeId() {
                return knowledgeId;
            }

            public void setKnowledgeId(int knowledgeId) {
                this.knowledgeId = knowledgeId;
            }

            public String getCommentContent() {
                return commentContent;
            }

            public void setCommentContent(String commentContent) {
                this.commentContent = commentContent;
            }

            public int getPraiseNumber() {
                return praiseNumber;
            }

            public void setPraiseNumber(int praiseNumber) {
                this.praiseNumber = praiseNumber;
            }

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public long getCreateDate() {
                return createDate;
            }

            public void setCreateDate(long createDate) {
                this.createDate = createDate;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(Object updateDate) {
                this.updateDate = updateDate;
            }

            public Object getRemarks() {
                return remarks;
            }

            public void setRemarks(Object remarks) {
                this.remarks = remarks;
            }

            public Object getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(Object delFlag) {
                this.delFlag = delFlag;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getHeadImg() {
                return headImg;
            }

            public void setHeadImg(String headImg) {
                this.headImg = headImg;
            }
        }
    }
}
